package com.example.materialcostsystembackend.service;

import com.example.materialcostsystembackend.model.Part;
import com.example.materialcostsystembackend.repository.PartRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

public interface PartService {
    void addPart(String name, String specification, String unit, Double price, int qty);
    List<Part> getAllParts();
}
